#pragma once;
//ms
namespace yet{
class Tick
{
public:
	Tick(bool autoPrint = true);
	virtual ~Tick(void);
public:
	void Start();
	long End(const char* prefix = 0);
private:
	static long GetTimeTick();
public:
	long tickStart;//mill seconds
	long tickEnd;
	bool autoPrint;
};

}
